package com.dateConstruction._04_seqQueue;

public interface Queue<T> {
    
    // 判空
    public abstract boolean isEmpty();
    
    // 入队
    public abstract boolean add(T x);
    
    // 返回队头元素
    public abstract T peek();
    
    // 队头元素出队
    public abstract T poll();
}
